package cn.janescott.inner.space.lib.support.message.handler;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * 消费接口
 * Created by Scott on 2018/5/30
 */
public interface MessageHandler<T> extends InitializingBean, DisposableBean {

    void doHandle(T payload);

}
